import request from "@/utils/request"
import type { Tag } from "./type";

export const getTagList = () => {
    return request.get("/system/tag/list");
}

export const addTag = (tag: Tag) => {
    return request.post("/system/tag/add", tag);
}